 package cn.clx.ymcc.constant;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

 /**
  * 读取yml中的参数，业务层注入
  */
 @Component
@ConfigurationProperties(prefix = "register.smscode")
@Data
public class RegisterConstant {

    private Long timeout;
    private Integer size;
    private String smsmessage;
    private String title;
}
